<!-- 发送消息 title:<> content:<> -->
<button nz-button [nzType]="'primary'" (click)="openMessageForm()" style="margin-bottom:20px;">
  <span>发送消息</span>
</button>

<nz-table #nzTable [nzDataSource]="_dataSet" [nzPageSize]="7" nzShowSizeChanger>
  <thead nz-thead>
    <tr>
      <th nz-th nzCheckbox>
        <label nz-checkbox [(ngModel)]="_allChecked" [nzIndeterminate]="_indeterminate" (ngModelChange)="_checkAll($event)">
        </label>
      </th>
      <th nz-th>
        <span>消息序号</span>
      </th>
      <th nz-th>
        <span>推送序号</span>
      </th>
      <th nz-th>
        <span>标题</span>
      </th>
      <th nz-th>
        <span>内容</span>
      </th>
      <th nz-th>
        <span>推送时间</span>
      </th>
      <th nz-th>
        <span>状态</span>
      </th>

      <!-- <th nz-th>
        操作
      </th> -->
    </tr>
  </thead>
  <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of nzTable.data">
      <td nz-td nzCheckbox>
        <label nz-checkbox [(ngModel)]="data.checked" (ngModelChange)="_refreshStatus($event)">
        </label>
      </td>
      <td nz-td>
        <a>{{data.msgId}}</a>
      </td>
      <td nz-td>{{data.sendNo}}</td>
      <td nz-td>{{data.name}}</td>
      <td nz-td>{{data.content}}</td>
      <td nz-td>{{data.sendTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
      <td nz-td>{{data.status}}</td>
      <!-- <td nz-td>
        <a href="">详情</a>
      <span nz-table-divider></span> 
      <a href="">任务调度</a>       
      </td> -->
    </tr>
  </tbody>
</nz-table>